﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace 计科201518
{
    public partial class 实验_1_3_2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            for (int a = 1; a <= 3; a++)
            {
                for (int b = 1; b <= 20 - 2 * a; b++)
                {
                    Response.Write("&nbsp;");
                }
                for (int c = 1; c <= 2 * a - 1; c++)
                {
                    if (a == 1) Response.Write("A");
                    if (a == 2) Response.Write("B");
                    if (a == 3) Response.Write("C");
                }
                Response.Write("<br/>");
            }
            for (int a = 2; a >= 0; a--)
            {
                for (int b = 1; b <= 20 - 2 * a; b++)
                {
                    Response.Write("&nbsp;");
                }
                for (int c = 1; c <= 2 * a - 1; c++)
                {
                    if (a == 2) Response.Write("D");
                    if (a == 1) Response.Write("E");
                }
                Response.Write("<br/>");
            }


        }
    }
}